package com.ruoyi.project.system.sign.domain;

import com.ruoyi.framework.aspectj.lang.annotation.Excel;
import com.ruoyi.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;

/**
 * 用户签到对象 member_sign
 * 
 * @author LCL
 * @date 2020-12-17
 */
public class MemberSign extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户主键ID */
    private String id;

    /** 累计签到总数 */
    @Excel(name = "累计签到总数")
    private Integer total;

    /** 连续签到天数 */
    @Excel(name = "连续签到天数")
    private Integer continuity;

    /** 累计获取积分 */
    @Excel(name = "累计获取积分")
    private BigDecimal sumCoin;

    public String getId() {
        return id;
    }
    public void setId(String id) {
        this.id = id;
    }

    public Integer getTotal() {
        return total;
    }
    public void setTotal(Integer total) {
        this.total = total;
    }

    public Integer getContinuity() {
        return continuity;
    }
    public void setContinuity(Integer continuity) {
        this.continuity = continuity;
    }

    public BigDecimal getSumCoin() {
        return sumCoin;
    }
    public void setSumCoin(BigDecimal sumCoin) {
        this.sumCoin = sumCoin;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("total", getTotal())
            .append("continuity", getContinuity())
            .append("updateTime", getUpdateTime())
            .append("sumCoin", getSumCoin())
            .toString();
    }
}
